package com.example.rae.zookeeper.member.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ZkMemberController {

    @Value("${server.port}")
    private String serverPort;

    @GetMapping("/getMember")
    public String getMember(){
        return "this is member,我是会员服务,springCloud2.0版本,端口号为"+ serverPort;
    }
}
